package com.fulihui.wgj.facade.service.template;

import com.fulihui.common.error.InvokeServiceException;
import com.fulihui.common.result.rpc.BaseResult;
import com.fulihui.wgj.facade.request.template.LocalTemplateSendRequest;
import com.fulihui.wgj.facade.request.template.SinglePreviewRequest;

/**
 * 本地模板消息发送服务
 *
 * @author: Levon
 * @date: 2018-07-26 14:24
 */
public interface WxLocalTemplateService {

    /**
     * 模板发送个人预览
     *
     * @param request
     * @return
     * @throws InvokeServiceException
     */
    BaseResult singlePreview(SinglePreviewRequest request) throws InvokeServiceException;

    /**
     * 本地推送
     *
     * @param request
     * @return
     * @throws InvokeServiceException
     */
    BaseResult sendTemplateMsgLocal(LocalTemplateSendRequest request) throws InvokeServiceException;
}
